package com.shidaimanong.demo.str;

/**
 * 学编程，关注：十代码农
 * 抖音、快手、B站、西瓜视频、今日头条
 */
public class StringDemo4 {
    public static void main(String[] args) {
        String str = "云想衣裳花想容，春风拂槛露华浓，若非群玉山头见，会向瑶台月下逢";
        String[] arr = str.split("，");
        for (int i = 0; i < arr.length; i++) {
            System.out.println(arr[i]);
        }
    }
}
